#include <stdio.h>
#include <stdlib.h>
#include "../include/steiner.h"

void print_usage(char * prog_name) {
  printf("ERROR: Too few arguments\n");
  printf("Usage: %s <input_file>\n",prog_name);
  return (void) 0;
};

int main(int argc, char ** argv) {

  graph initial;
  graph tree;
  int   term_num;
  int   *terminals;
  int i;
  
  srandom(SEED);

  if (argc >= 2) {
    leArquivo(&initial, argv[1], &term_num, &terminals);
    GRASPsteiner(&initial, terminals, term_num);
  } else {
    print_usage(argv[0]);
  };

  return 0;
};
